@model IEnumerable<Limestone.IPageTemplate>
@{
    Layout = "~/areas/limestone/views/shared/_layout.cshtml";
}
<div class="templates">
    <h1>
        Templates</h1>
    @Html.ActionLink("New...", "New", null, new { Class = "btn btn-success" })
    <br />
    <table class="table table-condensed table-striped table-bordered">
        <thead>
            <th>
                Template
            </th>
            <th>
                Description
            </th>
        </thead>
        <tbody>
            @foreach (var template in Model)
            {
                <tr>
                    <td>@Html.ActionLink(template.Name, "Edit", new { templatePath = template.Path })
                    </td>
                    <td>@template.HelpText
                    </td>
                </tr>
            }
        </tbody>
    </table>
</div>
